<?php




$json = array('status'=>'ok','msg'=>'ok','data'=>'');

$params = $this->params();




$this->website['class']['db']
       ->table('user_student')
       ->field('codecard1','codecard2','student','uid','createtime')
       ->value($params['codecard1'],$params['codecard2'],$params['student'],$params['uid'],$_SERVER['REQUEST_TIME'])
       ->insert();



$json['msg']="上传成功，等待审核";






$this->json_encode_encrypt($json);

